package com.newsReader.banner.model;

import java.util.List;

import com.eova.common.base.BaseModel;

public class Banner extends BaseModel<Banner>{
	
	private static final long serialVersionUID = 1L;
	
	public static final Banner dao = new Banner();
	/**
	 * 轮播图列表
	 * @param 
	 * @return
	 */
	public List<Banner> findBannerList() {
		String sql = "SELECT id,name,picUrl,redirectUrl,ord,createDate,createUser,status FROM c_banner WHERE status=2";
		return this.find(sql);
	}
}
